package com.joshua.ticket.utils;

import java.util.HashSet;
import java.util.Set;

public class LoingedUser {

	private long userId;
	private String userName;
	private Set<String> roleCodes;
	private Set<String> menuCodes;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Set<String> getRoleCodes() {
		return roleCodes;
	}

	public void setRoleCodes(Set<String> roleCodes) {
		this.roleCodes = roleCodes;
	}

	public Set<String> getMenuCodes() {
		return menuCodes;
	}

	public void setMenuCodes(Set<String> menuCodes) {
		this.menuCodes = menuCodes;
	}

	public LoingedUser() {
		this.roleCodes = new HashSet<String>();
		this.menuCodes = new HashSet<String>();
	}
}
